<template>
  <aside id="page-aside">
    <ul>
      <router-link tag="li" to="/home">
        <a>Home</a>
      </router-link>
      <router-link tag="li" to="/sub/sub_show">
        <a>Subsystem</a>
      </router-link>
      <router-link tag="li" to="/ctrl/controller_show">
        <a>Controllers</a>
      </router-link>
      <router-link tag="li" to="/encl/enclosure_show">
        <a>Enclosures</a>
      </router-link>
      <router-link tag="li" to="/phy/phy_show">
        <a>Physical Disks</a>
      </router-link>
      <router-link tag="li" to="/pool/pool_show">
        <a>Pools</a>
      </router-link>
      <router-link tag="li" to="/virtual/vir_show">
        <a>Virtual Disks</a>
      </router-link>
      <router-link tag="li" to="/application/app_show">
        <a>Application</a>
      </router-link>
      <router-link tag="li" to="/sfx/sfx_show">
        <a>SFX</a>
      </router-link>
    </ul>
  </aside>
</template>

<script>
  export default {
    name: 'common_aside',
    data () {
      return {
        msg: 'Welcome to Your Vue.js App'
      }
    }
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped lang="scss" rel="stylesheet/scss">
  .router-link-active{
    a{
      background: #404855;
      color: #ffffff;
    }
  }
</style>
